package lab.cadl.lirui.markdown.core.renderers

import lab.cadl.lirui.markdown.core.model.MarkdownDocument
import lab.cadl.lirui.markdown.core.utils.ImageCacheImpl
import java.io.File

interface CustomOption

class RenderOption(val outputDir: String,
                   val originName: String,
                   var templateFile: String,
                   val imageCache: ImageCacheImpl,
                   val customOption: CustomOption? = null) {
}

interface DocumentRenderer {
    fun render(doc: MarkdownDocument, option: RenderOption): File
    fun defaultCustomOption(): CustomOption
}